package com.javatom.notes.feign.service;

import com.javatom.notes.common.model.BaseResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "mongoOperat")
public interface FeignMongoOperatService {
    @RequestMapping(value = "/initData",method = {RequestMethod.GET})
    BaseResponse initData(@RequestParam(name = "applicationName") String applicationName);
}
